package com.erp.shop.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.annotation.ExcelDictFormat;
import com.ruoyi.common.core.convert.ExcelDictConvert;
import lombok.Data;



/**
 * 店铺绑定记录视图对象 erp_shop_bind_record
 *
 * @author erp
 * @date 2024-05-07
 */
@Data
@ExcelIgnoreUnannotated
public class ErpShopBindRecordVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 店铺授权表id
     */
    @ExcelProperty(value = "店铺授权表id")
    private Long storeId;

    /**
     * 店铺账号（cn码）
     */
    @ExcelProperty(value = "店铺账号", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "c=n码")
    private String storeUserName;

    /**
     * 绑定用户id
     */
    @ExcelProperty(value = "绑定用户id")
    private String userId;

    /**
     * 上级代理id
     */
    @ExcelProperty(value = "上级代理id")
    private Long parentAgentId;

    /**
     * 上级公司id
     */
    @ExcelProperty(value = "上级公司id")
    private Long parentBranchId;

    /**
     * 乐观锁
     */
    @ExcelProperty(value = "乐观锁")
    private String revision;


}
